//
//  UIColor+CZAddition.swift
//  Weibo
//
//  Created by zxy on 2018/12/17.
//  Copyright © 2018 zxy. All rights reserved.
//

import Foundation


// MARK: - 返回随机色
extension UIColor{
    class func randomColor() -> UIColor{
        let color = UIColor(red: CGFloat(arc4random()%256)/255.0, green: CGFloat(arc4random()%256)/255.0, blue:CGFloat(arc4random()%256)/255.0, alpha: 1)
        return color
    }
}
